<?php /* Smarty version Smarty-3.1.14, created on 2014-03-25 15:54:17
         compiled from "F:\PDC\ProjectEnv\wauf2014\20140117v4\Sites\Pyramid\Tpl\Default\uc_index.html" */ ?>
<?php /*%%SmartyHeaderCode:275375331362920d984-75656452%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'dda7e27bcbeeaf32fa0f6cb32c1ace0ce9efd857' => 
    array (
      0 => 'F:\\PDC\\ProjectEnv\\wauf2014\\20140117v4\\Sites\\Pyramid\\Tpl\\Default\\uc_index.html',
      1 => 1391910602,
      2 => 'file',
    ),
    '3e2a01e22f53f519b5b476ba578b74a44aa7c091' => 
    array (
      0 => 'F:\\PDC\\ProjectEnv\\wauf2014\\20140117v4\\Sites\\Pyramid\\Tpl\\Default\\layout_uc.html',
      1 => 1391910602,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '275375331362920d984-75656452',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'PAGE_TITLE' => 0,
    'PAGE_TITLE_SUFFIX' => 0,
    'PAGE_KEYWORD' => 0,
    'PAGE_DESCRIPTION' => 0,
    'SKIN_FOLDER' => 0,
    'IS_Agent' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.14',
  'unifunc' => 'content_533136293461d0_22183100',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_533136293461d0_22183100')) {function content_533136293461d0_22183100($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $_smarty_tpl->tpl_vars['PAGE_TITLE']->value;?>
-<?php echo $_smarty_tpl->tpl_vars['PAGE_TITLE_SUFFIX']->value;?>
</title>
<meta name='keywords' content='<?php echo $_smarty_tpl->tpl_vars['PAGE_KEYWORD']->value;?>
' />
<meta name='description' content='<?php echo $_smarty_tpl->tpl_vars['PAGE_DESCRIPTION']->value;?>
' />
<link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
Css/index.css" />
<script type='text/javascript' src="<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
Plus/common.js"></script>
<script charset="UTF-8" src="<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
Plus/jquery-1.4.4.min.js"></script>
<script charset="UTF-8" src="<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
Plus/form.js"></script>
<script charset="UTF-8" src="<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
Plus/artdialog/artDialog.min.js"></script>
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
Plus/autovalidate/style.css"/>
<script charset="UTF-8" src="<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
Plus/autovalidate/validate.js"></script>

</head>

<body class="index">
<div class="ucenter container">
	<?php echo $_smarty_tpl->getSubTemplate ('inc_top_nav.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

	<?php echo $_smarty_tpl->getSubTemplate ('inc_head_menu.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

	</div>

	<div class="position">
		您当前的位置： <a href="/">首页</a>&nbsp;&gt;&nbsp;我的账户
	</div>
	<div class="wrapper clearfix">
		<div class="sidebar f_l">
			<img src="<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
Css/ucenter.gif" width="180" height="40" />
                        <?php if ($_smarty_tpl->tpl_vars['IS_Agent']->value){?>
			<div class="box">
				<div class="title"><h2 class='bg5'>代理专区</h2></div>
				<div class="cont">
					<ul class="list">
                                            <li><a href="index.php?m=AC_Relation_Manage">关系管理</a></li>
                                            <li><a href="index.php?m=AC_Promotor">推广员</a></li>
                                            <li><a href="index.php?m=AC_Preorderseat">预购席位</a></li>
					</ul>
				</div>
			</div>
			<div class="box">
				<div class="title"><h2 class='bg2'>代理服务</h2></div>
				<div class="cont">
					<ul class="list">
                                            <li><a href="index.php?m=AC_Shop_Edit">商铺设置</a></li>
                                            <li><a href="index.php?m=AC_Product_List">商品管理</a></li>
                                            <li><a href="index.php?m=AC_Product_Edit">发布商品</a></li>
                                            <li><a href="index.php?m=AC_Order_List">订单列表</a></li>
					</ul>
				</div>
			</div>
                        <?php }?>
			<div class="box">
				<div class="title"><h2>交易记录</h2></div>
				<div class="cont">
					<ul class="list">
						<li><a href="index.php?m=UC_MyOrder">我的订单</a></li>
						<li><a href="index.php?m=UC_Integral">我的积分</a></li>
						<li><a href="index.php?m=UC_Redpacket">我的代金券</a></li>
					</ul>
				</div>
			</div>
			<div class="box">
				<div class="title"><h2 class='bg2'>服务中心</h2></div>
				<div class="cont">
					<ul class="list">
						<li><a href="index.php?m=UC_Refunds">退款申请</a></li>
						<li><a href="index.php?m=UC_Complain">站点建议</a></li>
						<li><a href="index.php?m=UC_Consult">商品咨询</a></li>
						<li><a href="index.php?m=UC_Evaluation">商品评价</a></li>
					</ul>
				</div>
			</div>
			<div class="box">
				<div class="title"><h2 class='bg3'>应用</h2></div>
				<div class="cont">
					<ul class="list">
						<li><a href="index.php?m=UC_Message">短信息</a></li>
						<li><a href="index.php?m=UC_Favorite">收藏夹</a></li>
					</ul>
				</div>
			</div>
			<div class="box">
				<div class="title"><h2 class='bg4'>账户资金</h2></div>
				<div class="cont">
					<ul class="list">
						<li><a href="index.php?m=UC_AccountLog">帐户余额</a></li>
						<li><a href="index.php?m=UC_Recharge">在线充值</a></li>
					</ul>
				</div>
			</div>
			<div class="box">
				<div class="title"><h2 class='bg5'>个人设置</h2></div>
				<div class="cont">
					<ul class="list">
						<li><a href="index.php?m=UC_Address">地址管理</a></li>
						<li><a href="index.php?m=UC_Profile">个人资料</a></li>
						<li><a href="index.php?m=UC_ResetPassword">修改密码</a></li>
                                                <li><a href="index.php?m=UC_Renewal">会员开通/续费</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="main f_r">
                    
	<div class="userinfo_bar"><span class="f_r">上一次登录时间：2013-11-11 21:40:11</span><b class="f14">您好，<?php echo $_smarty_tpl->tpl_vars['USER_NAME']->value;?>
 欢迎回来!</b></div>
	<div class="box clearfix">
		<h3>用户信息</h3>
		<dl class="userinfo_box">
			<dt>
						<a class="ico"><img id="user_ico_img" src="/" width="100" height="100" alt="" onerror="this.src='<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
Css/user_ico.gif'" /></a>
			<a class="blue" href="javascript:select_ico();">修改头像</a>
			</dt>
			<dd>
			<table width="100%" cellpadding="0" cellspacing="0">
				<col width="192px" />
				<col width="120px" />
				<col width="192px" />
				<col />
				<tr>
					<td>你的账户目前总积分：<b class="red2">0</b></td>
					<td><a class="blue" href="index.php?m=MyIntegral">查看积分历史</a></td>
															<td>你的订单交易总数量：<b class="red2">0</b> 笔</td>
					<td><a class="blue" href="index.php?m=MyOrder">进入订单列表</a></td>
				</tr>
				<tr>

					<td>总消费额：<b>￥</b><b class="red2">0</b></td>
					<td></td>
					<td>预存款余额：<b>￥</b><b class="red2">0.00</b></td>
				</tr>
				<tr>
																				<td>代金券：拥有可用代金券 <b class="red2">0</b> 张</td>
					<td></td>
				</tr>
			</table>
			<div class="stat">
												<span>待评价商品：<label>(<b class="red2">0</b>)</label></span>
												<span>待付款订单：<label>(<b class="red2">0</b>)</label></span>
												<span>待确认收货：<label>(<b class="red2"><a href="index.php?m=MyOrder">0</b>)</a></label></span>
			</div>
			</dd>
		</dl>
	</div>
	<h3 class="bg">我的订单</h3>
	<div class="box m_10">
		<table class="list_table" width="100%" cellpadding="0" cellspacing="0">
			<col width="140px" />
			<tr>
				<th>订单编号</th><th>下单日期</th><th>收货人</th><th>支付方式</th><th>总金额</th><th>订单状态</th>
			</tr>

			
			<tfoot><tr><td colspan="6" class="t_r"><a class="blue" href="index.php?m=UC_MyOrder">更多订单&gt;&gt;</a></td></tr></tfoot>
		</table>
	</div>
	<div class="box">
		<div class="title"><h2>也许你会对下列商品感兴趣</h2></div>
		<div class="cont clearfix">
			<ul class="prolist f_l">
								<li>
				<a href="index.php?m=Product_Detail&id=42" target="_black"><img src="<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
Imgs/20120528023118499_175_175.jpg" alt="iphone4 特价限购" height="100" width="100"></a>
				<p class="pro_title"><a href="index.php?m=Product_Detail&id=42" target='_black'>iphone4 特价限购</a></p>
				<p class="price_new"><b>￥2500.00</b></p>
				</li>
								<li>
				<a href="index.php?m=Product_Detail&id=123" target="_black"><img src="<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
Imgs/20120914050244744_175_175.jpg" alt="iphone5" height="100" width="100"></a>
				<p class="pro_title"><a href="index.php?m=Product_Detail&id=123" target='_black'>iphone5</a></p>
				<p class="price_new"><b>￥4100.00</b></p>
				</li>
								<li>
				<a href="index.php?m=Product_Detail&id=142" target="_black"><img src="<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
Imgs/20130328101324361_175_175.jpg" alt="Lumia 920" height="100" width="100"></a>
				<p class="pro_title"><a href="index.php?m=Product_Detail&id=142" target='_black'>Lumia 920</a></p>
				<p class="price_new"><b>￥2000.00</b></p>
				</li>
							</ul>
		</div>
	</div>



</div>

<script type='text/javascript'>
	//修改备注信息
	function edit_summary(idVal)
	{
		var summary = $("#summary_val_"+idVal).val();
		if($.trim(summary))
		{
			$.getJSON('/index.php?controller=ucenter&action=edit_summary',{id:idVal,summary:summary},function(content){
				if(content.isError == false)
				{
					$('#summary_show_'+idVal).html(summary);
					$("#summary_box_"+idVal).hide();$("#summary_button_box_"+idVal).show();
					$('#summary_val_'+idVal).val('');
				}
				else
				{
					alert(content.message);
				}
			});
		}
		else
		{
			alert('请填写备注信息');
		}
	}

	//统计总数
	$('#favoriteSum').html('0');

	//[ajax]加入购物车
	function joinCart_ajax(id,type)
	{
		$.getJSON('/index.php?controller=simple&action=joinCart',{goods_id:id,type:type},function(content){
			if(content.isError == false)
			{
				var count = parseInt($('[name="mycart_count"]').html());
				$('[name="mycart_count"]').html(count + 1);
				$('.msgbox').hide();
				alert(content.message);
			}
			else
			{
				alert(content.message);
			}
		});
	}

	//列表页加入购物车统一接口
	function joinCart_list(id)
	{
		$.get('/index.php?controller=simple&action=getProducts',{id:id},function(content){
			if(content == '')
			{
				joinCart_ajax(id,'goods');
			}
			else
			{
				$('#product_box_'+id).html(content);
				$('#product_box_'+id).parent().show();
			}
		});
	}
</script>

	</div>


	<div class="help m_10">
		<div class="cont clearfix">
									
					</div>
	</div>
<script type='text/javascript'>
	//tabs的通用代码
	(function($){
		$(".tabs").each(function(i){
		    var parrent = $(this);
			$('.tabs_menu .node',this).each(function(j){
				var current=".node:eq("+j+")";
				$(this).bind('click',function(event){
					$('.tabs_menu .node',parrent).removeClass('current');
					$(this).addClass('current');
					$('.tabs_content>.node',parrent).css('display','none');
					$('.tabs_content>.node:eq('+j+')',parrent).css('display','block');
				});
			});
		});
	})(jQuery);

	//隔行换色
	$(".list_table tr::nth-child(even)").addClass('even');
	$(".list_table tr").hover(
		function () {
			$(this).addClass("sel");
		},
		function () {
			$(this).removeClass("sel");
		}
	);
    //用户中心导航条
    function menu_current()
    {
        var current = "favorite";
        if(current == 'consult_old') current='consult';
        else if(current == 'isevaluation') current ='evaluation';
        else if(current == 'withdraw') current = 'account_log';
        var tmpUrl = "/index.php?controller=ucenter&action=current";
        tmpUrl = tmpUrl.replace("current",current);
        $('div.cont ul.list li a:[href^="'+tmpUrl+'"]').parent().addClass("current");
    }
    menu_current();
</script>
<?php echo $_smarty_tpl->getSubTemplate ('inc_footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>